import { S } from '../../s';
import { IPSAppDEMobWFDynaEditView } from './ipsapp-demob-wfdyna-edit-view';
import { PSAppDEMobWFEditViewImpl } from './psapp-demob-wfedit-view-impl';
import { IPSUIActionGroup } from '../../view/ipsuiaction-group';

export class PSAppDEMobWFDynaEditViewImpl
  extends PSAppDEMobWFEditViewImpl
  implements IPSAppDEMobWFDynaEditView
{
  protected psuiactiongroups: IPSUIActionGroup[];
  getPSUIActionGroups(): IPSUIActionGroup[] | null {
    return (
      this.psuiactiongroups ||
      (this.psuiactiongroups = this.fillChildListModel(
        this.M.getPSUIActionGroups,
        S._210,
      ) as IPSUIActionGroup[])
    );
  }

  findPSUIActionGroup(objKey: any): IPSUIActionGroup | null {
    return this.getPSModel5(
      S._210,
      this.getPSUIActionGroups(),
      objKey,
    ) as IPSUIActionGroup;
  }
  get cls(): string {
    return 'PSAppDEMobWFDynaEditViewImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._75 || cls == S._76 || cls == S._72 || cls == S._77)
      return true;
    return super.instanceof(cls);
  }
}
